/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chelydra.sharelydra.client.database;

/**
 *
 * @author Benjamin
 */
public class Request {

    /**
     * This classe get an Array with this pattern:
     * | FileName | PathName | Size |
     * and insert it in the database and add a unique key to each row as well as
     * a boolean indicating if the file is shared or not (default = shared)
     * So the final base will be
     * | FileName (String) | PathName (String) | Size (int) |ID (int)   |Shared (bool)
     * @param Array
     */

    public static void addFileList(String[] Array){
        
    }


    /**
     * Return all the files shared by an user. Input is read from the database
     * @param shared
     * @return
     */
    public static String[] getFileList(boolean shared){
        String[] ans=null;
        
        return ans;
    }

}
